{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}SQL查看{% endblock %}


{% block page_content %}
<input type="submit" onclick="location.href='/web_table_column_relate?db_id={{ db_id }}&table_id={{ table_id }}'" value="返回"></input><br><br>

<form id="tablesql" name="tablesql" action="/web_table_sql?table_id={{ table_id }}" method="post">
    <button type="submit" class="btn btn-primary">提交</button><br><br>
    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />

    <div class="form-group">
        <textarea class="form-control" id="textarea" name=textarea rows="15">{{ create_table_sql }}</textarea>
    </div>

</form>
{% endblock %}
